\hypertarget{sharder_8hpp}{\section{src/preprocessing/sharder.hpp File Reference}
\label{sharder_8hpp}\index{src/preprocessing/sharder.\-hpp@{src/preprocessing/sharder.\-hpp}}
}
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$cstdio$>$}\\*
{\ttfamily \#include $<$fcntl.\-h$>$}\\*
{\ttfamily \#include $<$unistd.\-h$>$}\\*
{\ttfamily \#include $<$vector$>$}\\*
{\ttfamily \#include $<$omp.\-h$>$}\\*
{\ttfamily \#include $<$errno.\-h$>$}\\*
{\ttfamily \#include $<$sstream$>$}\\*
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include \char`\"{}graphchi\-\_\-types.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}api/chifilenames.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}api/graphchi\-\_\-context.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}io/stripedio.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}shards/slidingshard.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}shards/memoryshard.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}logger/logger.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}util/ioutil.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}util/qsort.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}metrics/metrics.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}metrics/reps/basic\-\_\-reporter.\-hpp\char`\"{}}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structgraphchi_1_1edge__with__value}{graphchi\-::edge\-\_\-with\-\_\-value$<$ Edge\-Data\-Type $>$}
\item 
class \hyperlink{classgraphchi_1_1sharder}{graphchi\-::sharder$<$ Edge\-Data\-Type $>$}
\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{namespacegraphchi}{graphchi}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{sharder_8hpp_a0cbea8258d22603949304d8d207e9764}{\#define {\bfseries S\-H\-A\-R\-D\-E\-R\-\_\-\-B\-U\-F\-S\-I\-Z\-E}~(64 $\ast$ 1024 $\ast$ 1024)}\label{sharder_8hpp_a0cbea8258d22603949304d8d207e9764}

\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries Proc\-Phase} \{ {\bfseries C\-O\-M\-P\-U\-T\-E\-\_\-\-I\-N\-T\-E\-R\-V\-A\-L\-S} = 1, 
{\bfseries S\-H\-O\-V\-E\-L} = 2
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{namespacegraphchi_ae99905aac0f9c2fb4f6d79129e33a2ae}{{\footnotesize template$<$typename Edge\-Data\-Type $>$ }\\bool {\bfseries graphchi\-::edge\-\_\-t\-\_\-src\-\_\-less} (const edge\-\_\-with\-\_\-value$<$ Edge\-Data\-Type $>$ \&a, const edge\-\_\-with\-\_\-value$<$ Edge\-Data\-Type $>$ \&b)}\label{namespacegraphchi_ae99905aac0f9c2fb4f6d79129e33a2ae}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Aapo Kyrola \href{mailto:akyrola@cs.cmu.edu}{\tt akyrola@cs.\-cmu.\-edu} 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.\-0
\end{DoxyVersion}
\hypertarget{toplist_8hpp_LICENSE}{}\subsection{L\-I\-C\-E\-N\-S\-E}\label{toplist_8hpp_LICENSE}
Copyright \mbox{[}2012\mbox{]} \mbox{[}Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University\mbox{]}

Licensed under the Apache License, Version 2.\-0 (the \char`\"{}\-License\char`\"{}); you may not use this file except in compliance with the License. You may obtain a copy of the License at

\href{http://www.apache.org/licenses/LICENSE-2.0}{\tt http\-://www.\-apache.\-org/licenses/\-L\-I\-C\-E\-N\-S\-E-\/2.\-0}

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \char`\"{}\-A\-S I\-S\char`\"{} B\-A\-S\-I\-S, W\-I\-T\-H\-O\-U\-T W\-A\-R\-R\-A\-N\-T\-I\-E\-S O\-R C\-O\-N\-D\-I\-T\-I\-O\-N\-S O\-F A\-N\-Y K\-I\-N\-D, either express or implied. See the License for the specific language governing permissions and limitations under the License.\hypertarget{toplist_8hpp_DESCRIPTION}{}\subsection{D\-E\-S\-C\-R\-I\-P\-T\-I\-O\-N}\label{toplist_8hpp_DESCRIPTION}
Sharder converts a graph into shards which the Graph\-Chi engine can process. 